import createAPI from 'shared/restClient/CreateAPI';

export const fetchMyInfoApi = createAPI('post', 'jiekec/index.php?route=account/customer/myinfo');
export const fetchCouponListApi = createAPI('post', 'jiekec/index.php?route=account/coupon/couponlist');
export const fetchWishListApi = createAPI('post', 'jiekec/index.php?route=account/wishlist/wishlist');
export const fetchUserCenterApi = createAPI('post', 'jiekec/index.php?route=account/usercenter');  //个人中心
export const fetchEditUserCenterApi = createAPI('post', 'jiekec/index.php?route=account/customer/setting');  //编辑个人中心
export const fetchOrderListApi = createAPI('post', 'jiekec/index.php?route=account/order/orderlist');

export const fetchOrderDetailApi = createAPI('post', 'jiekec/index.php?route=account/order/orderinfo'); //订单详情
export const fetchExpresslApi = createAPI('post', 'jiekec/index.php?route=express/query'); //订单物流详情

export const fetchSalesServicelApi = createAPI('post', 'jiekec/index.php?route=account/return/returnlist');
export const fetchReturnUploadImgApi = createAPI('post', 'jiekec/index.php?route=sale/return/uploadimage');
export const fetchReturnApplyApi = createAPI('post', 'jiekec/index.php?route=sale/return/apply');
export const fetchReturnBinddeliveryApi = createAPI('post', 'jiekec/index.php?route=sale/return/binddelivery');
export const fetchReturnReasonApi = createAPI('post', 'jiekec/index.php?route=sale/return/reason');
export const fetchValidateordersnApi = createAPI('post', 'jiekec/index.php?route=sale/returnsn/validateordersn');

export const fetchReturnmoneyApi = createAPI('post', 'jiekec/index.php?route=sale/return/returnmoney');








